package boot.servlet;

import javax.servlet.*;
import javax.servlet.annotation.WebFilter;
import java.io.IOException;

/**
 * @Author: zhiyu
 * @Date:15:48
 * @DESC:
 */
@WebFilter(filterName = "MyFilter")
public class MyFilter implements Filter {
    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        System.out.println("myfilter dofile执行了");
        chain.doFilter(request,response);
    }
}
